package jschool.ui.Nomina;

import javax.swing.JPanel;
import java.awt.Frame;
import java.awt.BorderLayout;
import javax.swing.JDialog;
import java.awt.Dimension;

public class DialogoConfiguracionNomina extends JDialog {

	private static final long serialVersionUID = 1L;
	private static DialogoConfiguracionNomina instancia = null;
	private ConfiguracionNomina jContentPane = null;

	/**
	 * @param owner
	 */
	public DialogoConfiguracionNomina(Frame owner, String titulo) {
		super(owner, titulo);
		setModal(true);
		initialize();
	}

	public static DialogoConfiguracionNomina getInstancia() {
		if (instancia == null) {
			instancia = new DialogoConfiguracionNomina(null, "Configuraciones");
		}
		return instancia;
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(318, 264);
		this.setContentPane(getJContentPane());
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private ConfiguracionNomina getJContentPane() {
		if (jContentPane == null) {
			jContentPane = new ConfiguracionNomina();
			jContentPane.setLayout(new BorderLayout());
		}
		return jContentPane;
	}

}  //  @jve:decl-index=0:visual-constraint="10,10"
